package common.entity;

import common.entity.common.person;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * 老师
 * create table teacher
 * (
 *     id        varchar(50)  not null
 *         primary key,
 *     sign_time datetime     not null,
 *     nickname  varchar(100) not null,
 *     name      varchar(20)  not null,
 *     address   varchar(100) not null,
 *     work_time date         not null
 * );
 */
@Getter@Setter@ToString(callSuper = true)
public class teacher extends person {
 public    static final String prefix="teacher_";
    String name;//真实姓名 长度20
    String address; //注册地址
    Date work_time; //开始教学时间
}
